package ${pkg};

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel
public class ${clazz} extends BaseResp${r'<List<'}${clazz}.Detail>> {

    @ApiModel(value = "${clazz}.Detail")
    public static class Detail {
<#list columns as column>
        @ApiModelProperty(name = "${column.name}", value = "${column.comment}")
        @JSONField(name = "${column.name}")
        @JsonProperty("${column.name}")
        private String ${column.name};

</#list>
<#list columns as column>
        public String ${column.get}() {
            return ${column.name};
        }

        public void ${column.set}(String ${column.name}) {
            this.${column.name} = ${column.name};
        }

    </#list>
    }
}
